/*
 * @Description: Approve页面主体
 * @Author: Rfan
 * @Date: 2022-03-29 13:57:08
 * @LastEditTime: 2023-02-03 15:14:33
 */

import { Tabs } from 'antd';
import ApprovePane from './ApprovePane';
import BorrowPane from './BorrowPane';
import RulePane from './RulePane';

const { TabPane } = Tabs;

const ApprovePage = () => {
  return (
    <Tabs defaultActiveKey="2">
      <TabPane tab="权限管理" key="1">
        <BorrowPane />
      </TabPane>
      <TabPane tab="权限审批" key="2">
        <ApprovePane />
      </TabPane>
      <TabPane tab="权限规则" key="3">
        <RulePane />
      </TabPane>
    </Tabs>
  );
};

export default ApprovePage;
